<div class="sysWebsites index">
	<h1><?php echo __('分站导航');?></h1>
    <div class="bloc">
        <div class="title">
           <?php echo $this->element('admin/bread')?>
             <p><?php echo $this->Html->link(__('添加'), array('action' => 'add')); ?></p>
        </div>
        <div class="admin_view_table">
			<table cellpadding="0" cellspacing="0">
			 <thead>
				<tr>
					<th><?php echo $this->Paginator->sort('id','ID'); ?></th>
					<th><?php echo $this->Paginator->sort('sys_website_id','分站'); ?></th>
					<th><?php echo $this->Paginator->sort('name','导航'); ?></th>
					<th><?php echo $this->Paginator->sort('p','插件'); ?></th>
					<th><?php echo $this->Paginator->sort('c','控制器'); ?></th>
					<th><?php echo $this->Paginator->sort('a','动作'); ?></th>
					<th><?php echo $this->Paginator->sort('sort','排序'); ?></th>
					<th><?php echo $this->Paginator->sort('enable','启用'); ?></th>
					<th><?php echo $this->Paginator->sort('modified','修改时间'); ?></th>
					<th class="actions"><?php echo __('操作'); ?></th>
			</tr>
			</thead>
			<tbody>
			<?php foreach ($sysFronts as $sysFront): ?>
			<tr>
				<td><?php echo h($sysFront['SysFront']['id']); ?>&nbsp;</td>
				<td>
					<?php echo $sysFront['SysWebsite']['title']; ?>
				</td>
				<td><?php echo h($sysFront['SysFront']['name']); ?>&nbsp;</td>
				<td><?php echo h($sysFront['SysFront']['p']); ?>&nbsp;</td>
				<td><?php echo h($sysFront['SysFront']['c']); ?>&nbsp;</td>
				<td><?php echo h($sysFront['SysFront']['a']); ?>&nbsp;</td>
				<td><?php echo h($sysFront['SysFront']['sort']); ?>&nbsp;</td>
				<td><?php echo h($sysFront['SysFront']['enable']); ?>&nbsp;</td>
				<td><?php echo h($sysFront['SysFront']['modified']); ?>&nbsp;</td>
				<td class="actions">
					<?php echo $this->Html->link(__('Edit'), array('action' => 'edit', $sysFront['SysFront']['id'])); ?>
					<?php echo $this->Form->postLink(__('Delete'), array('action' => 'delete', $sysFront['SysFront']['id']), null, __('Are you sure you want to delete # %s?', $sysFront['SysFront']['id'])); ?>
				</td>
			</tr>
				<?php endforeach; ?>
			 </tbody>
			</table>
		</div>
        <div class="pv_page">
            <div>
                <?php
                    echo $this->Paginator->counter(array(
                        'format' => __(' 当前第{:page}页/共{:pages}页 , 当前显示{:start} 至 {:end}条记录')
                    ));
                ?>	
            </div>
            <div class="paging">
                <?php
                    echo $this->Paginator->prev('< ' . __('上一页'), array(), null, array('class' => 'prev disabled'));
                    echo $this->Paginator->numbers(array('separator' => ''));
                    echo $this->Paginator->next(__('下一页') . ' >', array(), null, array('class' => 'next disabled'));
                ?>
            </div>
        </div>
    </div>
</div>